<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()	+ path + "/";
	request.setCharacterEncoding("UTF-8");
	response.setContentType("text/html;charset=UTF-8");
%> 
<jsp:include page="changePwd.jsp" flush="true"/>
<link rel="stylesheet" href="<%=path%>/css/glsmcx.css" type="text/css" />
<link rel="stylesheet" href="<%=path%>/css/upload.css" type="text/css" >
<script type="text/javascript" src="<%=path%>/js/controllers/orderrefundbillCtrl.js"></script>
<script type="text/javascript" src="<%=path%>/js/libs/jquery.table2excel.js"></script>
<script type="text/javascript">
	var ctx="<%=path%>";   
	$("#generate-excel").click(function(){
	    $("#excTable").table2excel({ 
	        // 不被导出的表格行列的CSS class类 如果某列不需要在导出的文件中显示：<td class='.noExl'><td>
	        exclude: ".noExl", 
	        // 导出的Excel文件的名称
	        filename: "供应商售后退款单.xls"

	    });
	}); 
</script>
<input type="hidden" id="isInterior" value="${_user_supplier.isInterior}" />
<div class="glsmcxWrap">
	<div class="container-fluid">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">售后订单账单</h3>
			</div>
			<input id="queryType" value="ht" style="display:none;"></input>
			<div class="panel-body clearfix">
				<form method="post" action="#" class="form-horizontal" role="form">
					<!-- 查询开始 -->
					<div class="form-group">
					
						<div class="col-lg-31 clearfix">							
							<label class="control-label labelPart">结算账单编号：</label>
							<div class="colPart">
								<input type="text" class="input-sm form-control" id="settlementBillId" placeholder="结算账单编号">
							</div>
						</div>
						
						<div class="col-lg-31 clearfix">							
							<label class="control-label labelPart">订单号：</label>
							<div class="colPart">
								<input type="text" class="input-sm form-control" id="orderId" placeholder="订单号">
							</div>
						</div>		 
						
						 <div class="col-lg-31 clearfix">							
						<label class="control-label labelPart">供应商：</label>
							<div class="colPart">
								<input type="text" class="input-sm form-control" name="supplierName" placeholder="请输入供应商名称">
							</div>
						</div>
						
						<div class="col-lg-34 more clearfix"> 	 												
							<button type="button" class="searchBtn">查询</button>	
							<button type="button" class="clearBtn">清空</button>					
						</div> 
					</div>
					
					<!-- 查询结束 --> 
					<ul class="clearfix listwork"> 
						<li class="print clearfix" id="generate-excel"><i></i>导出</li>
					</ul>
					<div class="table-responsive">
						<table class="table table-bordered check left" id="excTable">
							<thead>
								<tr> 
									<th>序号</th>
									<th>结算单号</th>
									<th>售后单号</th>
									<th>订单号</th>
									<th>供应商</th>  
 								    <th>售后单类型</th>  
 								    <th>退款时间</th> 
 								    <th>售后退款金额</th> 
 								    <th>备注</th> 
 								</tr>
 							</thead>
 		
 							<tbody id="dataBody">
 								 
 							</tbody>
 						</table>
 						
 						<table class="table2excel table table-bordered hide">
 						</table>
 					</div>
 				</form>
 			</div>
 		</div>
 		<div class="clearfix pageBottom">	
 			<div class="record-wrapper page" role="status" aria-live="polite">
 				当前<span class="pageNo"> </span>/<span class="totalPages"> </span>页，每页
 				<label class="inline">
 					<select name="dataTable_length" 
 						class="form-control input-sm setTableLength" aria-controls="dataTable">
 						<option selected="selected" value="10">10</option>
 						<option value="20">20</option> 
 				</select> 
 				</label>&nbsp;条记录,共<span class="record-wrapper totalCount">0</span>条记录
 			</div>
 			<nav>
 			<!-- 这里显示分页 -->
 				<div id="Pagination" class="pagination"></div>
 			</nav>
 		</div>
 			
 	</div>
</div>

